/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package hcmus.fit.master.sevensea.core;

import android.graphics.Bitmap.Config;

/**
 * 
 * @author hvp
 */
public class Constant {

    public static int NUMERATOR = 1;
    public static int DENOMINATOR = 1;

    public static int CellWidthOrg = 45;
    public static int CellHeightOrg = 45;

    public static int MarginLeftOrg = 2;
    public static int MarginTopOrg = 11;
    public static int PadLeft = 0;// 150
    public static int PadRight = 0;
    public static int PadTop = 0;
    public static int PadBottom = 0;

    public static int Width = 13;
    public static int Height = 13;

    public static int MAP_WIDTH = Width * CellWidthOrg;
    public static int MAP_HEIGHT = Height * CellHeightOrg;

    public static int ControlWidth = 240;
    public static int ControlHeight = 68;
    public static int TotalLeft = PadLeft + MarginLeftOrg;
    public static int TotalTop = PadTop + MarginTopOrg;

    public static double ShipMoveSpeedX = 5.0;
    public static double ShipMoveSpeedY = 5.0;

    public static int CELL_WIDTH = CellWidthOrg * NUMERATOR / DENOMINATOR;
    public static int CELL_HEIGHT = CellHeightOrg * NUMERATOR / DENOMINATOR;
    public static int MarginLeft = MarginLeftOrg * NUMERATOR / DENOMINATOR;
    public static int MarginTop = MarginTopOrg * NUMERATOR / DENOMINATOR;

    public static double ShipMoveDeltaX = CELL_WIDTH / ShipMoveSpeedX;
    public static double ShipMoveDeltaY = CELL_HEIGHT / ShipMoveSpeedY;

    public static double CannonMoveDeltaX = CELL_WIDTH / 2.0;
    public static double CannonMoveDeltaY = CELL_HEIGHT / 2.0;

    public static long MAIN_TIMER_DELAY = 150;

    public static Config BITMAP_CONFIG = Config.ARGB_8888;
}
